import axios from 'axios'
import {config} from 'api/config'

// 获取歌词
export function PostLyric(mid) {
  let params = new URLSearchParams()
  params.append( 'id', mid )
  return axios.post(config.url + '/lyric', params).then((res) => {
    return Promise.resolve(res.data)
  })
}